﻿@model GameSchool.Models.TeacherCourseViewModel

@{
    ViewBag.Title = "Teacher Course | GameSchool";
    Layout = "~/Views/Shared/_LayoutTeacher.cshtml";
}

<div class="mainSectionStuff">
    <h2>@Model.courseName | Hand-in</h2>
    <ul>
        <li>Assignment</li>
        <li>Assignment</li>
        <li>Assignment</li>
        <li>Assignment</li>
    </ul>
</div> 
<div class="mainSectionStuff">
    <h2>Overview of Tasks</h2>
        <ul>
            @foreach (var item in Model.levels)
            {
                <li>Assignment (@item.title)</li>
            }
        </ul>
</div> 
<ul>
    @section menu{
        <li>@Html.ActionLink("Courses Overview", "TeacherHome", "Teacher")</li> 
        <li>@Html.ActionLink("Edit Course", "CourseEdit", "Course", new { CID = Model.courseID }, null)</li>    
        <li>@Html.ActionLink("Edit Levels", "LevelEdit", "Level", new { CID = Model.courseID }, null)</li>
        <li>@Html.ActionLink("Assignments", "listAssignments", "Assignment", new { CID = Model.courseID }, null)</li>
        <li>@Html.ActionLink("Achievements", "AssignAchievement", "Achievement", new { CID = Model.courseID }, null)</li>
    }
</ul>